﻿@{
    var rel = ViewData["reSearchDiv"] != null ? string.Format("rel={0}", ViewData["reSearchDiv"]) : "";
    ViewData["targettype"] = ViewData["targettype"] ?? "navTab";
    @*ViewData["RowCount"] = 100;
        ViewData["pageSize"] = 50;*@
    int rowcount = 0;
    if (ViewData["RowCount"] != null)
    {
        int.TryParse(ViewData["RowCount"].ToString(), out rowcount);
    }

}
<div class="panelBar">
    <div class="pages">
        <span>共【@rowcount 】条,每页显示【@ViewData["pageSize"] 】条</span>
    </div>
    <div class="pagination" targettype="@ViewData["targettype"]" totalcount="@rowcount "
         numperpage="@ViewData["pageSize"]" pagenumshown="10" currentpage="@Request["pageNum"]" @rel>
    </div>
</div>
